//
//  TicketOrderTicketCell.h
//  ImGuider
//
//  Created by 王鹏宇 on 2017/12/14.
//  Copyright © 2017年 AudioCtrip. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UploadTicketOrderModel.h"

@protocol TicketOrderTicketCellDelegate <NSObject>

- (void)goPurhchaseTipWith:(NSString *)detail;

@end

@interface TicketOrderTicketCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>

@property (weak, nonatomic) IBOutlet UILabel *ticketNumLabel;

@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;

@property (weak, nonatomic) IBOutlet UILabel *useCountLabel;

@property (weak, nonatomic) IBOutlet UIButton *useBtn;

@property (nonatomic)NSInteger currentIndex;

@property (nonatomic, weak)id<TicketOrderTicketCellDelegate>delegate;

@property (nonatomic, strong)UploadTicketOrderModel * tickteModel;
@property (nonatomic, strong)NSMutableArray *dataSource;

- (void)configDataWith:(UploadTicketOrderModel *)model;

@end
